﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace NETMovie.UI.WebMVC.Models
{
    public class RegisterViewModel
    {
        public RegisterModel BasicInfo
        {
            get;
            set;
        }

        [Required]
        [DisplayName("Address Line 1")]
        public string AddressLine1
        {
            get;
            set;
        }

        [DisplayName("Address Line 2")]
        public string AddressLine2
        {
            get;
            set;
        }

        [DisplayName("City")]
        public string City
        {
            get;
            set;
        }

        [Required]
        [DisplayName("Country")]
        public string Country
        {
            get;
            set;
        }

        [Required]
        [DisplayName("Postal Code")]
        public string PostalCode
        {
            get;
            set;
        }

        public IEnumerable<SelectListItem> Countries
        {
            get;
            set;
        }
    }
}